@import "../../style/constant.scss";
.user-card{
  background-color: #fff;
  height: 100%;
  border-radius: 8px;
  @include boxShadow();
  width: 100%;
  padding: 16px;
  @include ifndef(box-sizing, border-box, rn);
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  .user-major-container{
    display: flex;
  }
  .user-major{
    margin-top: 16px;
    font-size: 14px;
    line-height: 20px;
    max-height: 40px;
    color: $common;
    white-space: normal;
    @include line-ellipsis-x(2);
    .theme{
      color: $theme;
    }
  }
  .user-info{
    display: flex;
    justify-content: space-between;
    .user-info-identity{
      flex: 1;
      margin-right: 16px;
      //max-width: 165px;
      //overflow: hidden;
    }
    .userAvatar {
      border-radius: 50%;
      overflow: hidden;
    }
  }
  .labels{
    display: flex;
    margin-top: 4px;
  }
  .label{
    border: 1px solid #96E4C0;
    color: $theme;
    border-radius: 4px;
    font-size: 11px;
    padding: 0 4px;
    height: 18px;
    line-height: 18px;
    margin-right: 8px;
    &.default-label{
      color: $common;
      border-color: $borderColor;
    }
    &.visited-label{
      color: #fff;
      @include boxShadow();
      border-color: #EF6F6C;
      background-color: #EF6F6C;
    }
  }
}
